package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sys.pojo.PosVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-05-20
 */
public interface PosDubboService {

    PosVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(PosVO sysPosVO,LoginInfo loginInfo) throws Exception;

    void removeById(String id);

    PageInfo<PosVO> findPageByVO(PosVO sysPosVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List listByVo(PosVO posVO);

    void removeByListVO(List<PosVO> orgVoList) throws IllegalAccessException, InvocationTargetException, InstantiationException;
}
